#ifndef _GMOVECTORCLASS_H
#define _GMOVECTORCLASS_H

#include "GraphMathObj.h"

/*
 * Vector object
 */

#define GMOVECTOR_DEFAULT_TIP_LENGTH 0.33f
#define GMOVECTOR_DEFAULT_OVERFLOW_COLOR 0.7f

class GMOVectorClass:public GraphMathObj {
public:
	GMOGLAttributes attrib;
	GMOGLAttributes attrib_overflow;
//	float tailLength;
	float tailRadius;
	float tipLength;
	float tipRadius;
	int render_mode;
	union {struct {float x,y,z;};float xo[3];};
	union {struct {float vx,vy,vz;};float vo[3];};
	GMOVectorClass(void);
	~GMOVectorClass(void) {};
	void StdGLDraw(void);
};

#endif